Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-13 05:34 PM
I have been trying to get http post to work but just keep getting the error from the block 'Current state does not allow executing Post' in machine expert.
The http post works fine via the browser and also in a vbscript using ("Microsoft.XMLHTTP") no problems.
Have tried all sorts of combination for inputs.
The http library doco does not expand on this error.
Any ideas ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-15 01:57 AM
Hi,
Please refer to our online help for the HTTP Handling library. There you will find detailed information about the state machine and the various functions FB_HttpClient - State machine.
There is also a separate code example that demonstrates how to execute the GET method. Of course, this can also be easily adapted for the POST method. FB_HttpClient - Example code.
Please let me know if you have any further questions.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-14 02:59 AM
Resolved this issue, the http library documentation with machine expert is pretty poor but involves a lot more processes to be involved before sending the http post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-03-21 04:54 AM
Please share tips for resolving this, documentation with machine expert is still poor about this.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-15 01:57 AM
Hi,
Please refer to our online help for the HTTP Handling library. There you will find detailed information about the state machine and the various functions FB_HttpClient - State machine.
There is also a separate code example that demonstrates how to execute the GET method. Of course, this can also be easily adapted for the POST method. FB_HttpClient - Example code.
Please let me know if you have any further questions.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.