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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Creating endpoint URL doesn't work

AP_10343008
16-Pearl

Creating endpoint URL doesn't work

 

I created this url, it showed invalid. What Iam missing here.

https://servername/Thingworx/Things/DTName/Services/GetDataTableEntries

ACCEPTED SOLUTION

Accepted Solutions

Hello @AP_10343008 ,

Did you get what you need?
 

For a post operation in POSTMAN, the URL looks like:


<protocol>://<ServerName/IP Address>:<portNumber>/Thingworx/Things/<thingName>/Services/<serviceName>
 

Then in the header I passed an appKey. accept, content-type,
The Body has a JSON object with the parameter and value.

Hope this helps.

 

Regards,

Pehowe
 

View solution in original post

4 REPLIES 4

Are you invoking that endpoint using a POST or GET method?

A service must be invoked using POST? (It is possible to override that behavior using the "Allow Request Method Switch" option)

Hello @AP_10343008,

 

It looks like you have a response from a PTC Support engineer. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Hello @AP_10343008 ,

 

Have you used POSTMAN tool to test your URL? The tool provides great feedback and error reporting.

 

REgards,

pehowe

 

Hello @AP_10343008 ,

Did you get what you need?
 

For a post operation in POSTMAN, the URL looks like:


<protocol>://<ServerName/IP Address>:<portNumber>/Thingworx/Things/<thingName>/Services/<serviceName>
 

Then in the header I passed an appKey. accept, content-type,
The Body has a JSON object with the parameter and value.

Hope this helps.

 

Regards,

Pehowe
 

Announcements


Top Tags