what do i need to add to make this put request work? - azure

Thanks for stopping by.
I'm trying to update a SQL row using azure logic apps I'm stuck on this bit, the idea is to get data from a webpage and then update the SQL row. But i dont know what to fill in?

To pass the ID from the http request, you need to change the body of your https trigger . Then you can use the add dynamic content to add the output of first step into 2nd step.

Your question sounds similar to this one answer. Can you check if the answer helps you?

Related

DialogFlow: Give an answer based on a parameter entered?

I want to create a DialogFlow Response based on the parameter given
Example:
Intent:
Training:
I want support as a $supporttype
where $supporttype is an entity. The desired answer should be dependend of the value of $supporttype
Response: (if $supporttype=="Gold")
Yes, your question will be answered in 5 minutes.
or if $supporttype is not "Gold"
Response: (if $supporttype!="Gold")
Your question will be put in the queue.
Is there any easy way to achieve this? Or do I have to make a web hook for such a feature?
Thanks!
You need to use a webhook to create conditional responses.
There is a built-in code editor that can assist with this.
Late response, but maybe someone will find this answer useful if you prefer not having to use fulfillment webhooks and you only need to utilize one parameter.
https://stackoverflow.com/a/55926775/1011956

waiting for the website to change something

I am a student and in the school website, what I want to do is that I want to busy wait on the certain URL and check if the class i want to register for is open or not. I was wondering if there was a way to constantly check on the website(busy waiting or otherwise) to see if the class is open or not. There is a table Rem where it shows the number of places remaining in the User Interface.
Also what language would you use to solve this problem?
Yes you can. but for that you will probably need to create a script that fetches the value of data from that table.
So something like web scraping should work.
I would definately use php for this stuff.
Google web scraping and you can code the script.
I am not sure if this is the exact thing that will help you, but what you need to do is something similar - See Here

How to handle urls in load runner?

I have created/recorded a script in Vugen, however the the URL of the site has been changed recently. Is there any way just by replacing the url with a parameter works?
I have tried by replacing url with parameters, the new URL is
http://xsx.xxx.xsx.xxx/test99
Yhe parameters I have tried are below:
NewUrl: http://xsx.xxx.xsx.xxx/
Newhos: test99
I have replaced all in the script and when I run it I get the following error:
Error -27651: Attempted read from an unconnected socket (empty response, no HTTP headers received). URL="http://xsx.xxx.xsx.xxx/scripts/uiServer.dll"
What is the solution for this? Should i record again with the new URL ?
Thanks.
Hope I've understood what you're asking for, so here goes. If it's only the URL that has changed and not the content of the site which you might require later on in your script that this is fairly simple to do.
As you have created the new parameters ensure that they are getting the data from the same DAT file. I.e. newurl.dat which contains the following:
newurl,newhost
http://xsx.xxx.xsx.xxx/,test99
and assign the parameters to the correct column and have the newhost set to sameline as newurl. This way it’s easier to maintain I believe.
Now that the parameters have been created and properly assigned in your script you’ll need to change the url your trying to change from:
http://xsx.xxx.xsx.xxx/oldtest to {newurl}{newhost}
this needs to be done for all instances where the change has occurred.
Hope this helps with your problem you’re having.
Are you certain that the build level has not also changed at the same time as the host? If so then your new instance may be out of synch with the request model of the scripts built using an earlier build. Developers have a habit of including items below the scenes that do affect the site visually but change the structure of the requests. The error you are receiving is common when you attempt to continue a conversation on a dead connection resulting from a missed dynamic session component which may have been added in the last build.
When in doubt quickly record the second site and take a look at the differences in the requests, even to the point of using WinDiff (included in LoadRunner) for this purpose.

Do I need to build a web form to use this web call?

When I replace the two options in this web call directly in the URL, I don't get the expected results.
https://secure.trademark-clearinghouse.com/tmch/public/labels?name=a%26b&jurisdiction=BX
Do I need to build a web form to use this web call?
Or am I replacing the options incorrectly?
Thanks.
Apparently you are using URL parameters to send some information
name=a%26b&jurisdiction=BX
means:
parameterName=parameterValue separed by "&" symbol.
in your case:
name="aɫb"
jurisdiction="BX"
If you want to just read that, will work without a form.
Any further explanation we will need more information about what do you want to do. But this symbol between the "a" and "b" is strange. As you can see here http://www.nicolas-hoffmann.net/utilitaires/codes-hexas-ascii-unicode-utf8-caracteres-usuels.php the code %26b is "ɫ" if you really want this in your data... it's okay.

Ext.net PageProxy: what is it and how does it work?

I found that PageProxy can be used to get data from page, but I don't understand what does it mean exaclty and what's the difference with HttpProxy.
In particular:
who/when starts the request?
how does the request interact with the page life cycle?
where does the data come from? There is no url property on PageProxy.
Thank you.
First see the following sample
http://examples1.ext.net/#/GridPanel/Paging_and_Sorting/Page/
If you use PageProxy then you have to set OnRefreshData event handler in the store

Resources