Developer forum

Forum » Dynamicweb 10 » Connection Request Type Missing

Connection Request Type Missing

John Collins
Reply

When creating a Connection in the Integration there is no field to select the Request Type. It defaults to GET and I need to set it to POST so I can make a request and see if the authorization succeeds. The connection will always use POST and never get.

Can the Request Type be added to the Connection page?

Get_Error.png

Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi John,

This was intentionally left out, as we wanted to limit the potential changes that could be made to the external system during testing. But we see that this is too limiting.

So, we've reconsidered and decided to add the option to change the request type. This is primarily intended for testing request purposes.

BR Rasmus Sanggaard

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply
This post has been marked as an answer

Hi again,

If you can’t wait for the feature to be released (planned for Ring1 in about two months), here’s a possible workaround:

You can update the endpoint type directly in the database using the SQL Firehose tool. Run the following SQL script, replacing 1 with the actual EndpointId if you have more than one:

UPDATE Endpoint SET EndpointRequestType = 'POST' WHERE EndpointId = 1;

After executing the script, make sure to refresh the service caches for the endpoints via System > Developer > Cache. This ensures the change takes effect in the application.

BR Rasmus Sanggaard

Votes for this answer: 1

 

You must be logged in to post in the forum