cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Unable to invoke service via web browser

GiridharJorapur
8-Gravel

Unable to invoke service via web browser

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.

ACCEPTED SOLUTION

Accepted Solutions

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".

View solution in original post

2 REPLIES 2

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".

Thank you. It worked perfectly.

Is there any Good documentation around these?

Announcements


Top Tags