Skip to main content
1-Visitor
June 12, 2017
Solved

Unable to invoke service via web browser

  • June 12, 2017
  • 2 replies
  • 2024 views

Hello

I have created a service called GetAllRecords.

The service is fetching all records from SQL db.

If i click Test button, the i am able to see the results.

But i am trying to see results in web browser by using below URL.

https://thing.plm.ge.com/Thingworx/Things/LegacyPLMConnector/Services/GetAllRecords?method=post

But it is saying "Invalid Request".

Any idea , whats going on here?

Thanks in advance.

Best answer by posipova

Check that the REST API functionality is active.

Go to Subsystems -> Platform Subsystem -> Configuration from the composer screen; then check "Allow Request Method Switch" and uncheck "filter content-type".

2 replies

posipova20-TurquoiseAnswer
20-Turquoise
June 12, 2017

Check that the REST API functionality is active.

Go to Subsystems -> Platform Subsystem -> Configuration from the composer screen; then check "Allow Request Method Switch" and uncheck "filter content-type".

1-Visitor
June 13, 2017

Thank you. It worked perfectly.

Is there any Good documentation around these?