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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Unable to invoke service via web browser

GiridharJorapur
3-Visitor

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.

1 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?

Top Tags