<?xml version="1.0" encoding="iso-8859-15"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"><channel><title>RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/topic.aspx?PostID=428728</link><generator>Generated by feed.ASPItalia.com 'Cortana' 2022.8.29</generator><description /><dc:language>it-it</dc:language><lastBuildDate>Tue, 15 Mar 2022 21:03:08 GMT</lastBuildDate><item><title>RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428728</link><pubDate>Mon, 14 Mar 2022 22:49:22 GMT</pubDate><description>Salve,&lt;br/&gt;ho creato una semplice RestApi, che ho testato con Postman e sto cercando di usare Restsharp per implementare la chiamanta in Asp.net, ma mi ritorna sempre valore vuoto.&lt;br/&gt;&lt;br/&gt;Di seguito il codice ed anche la sorgente RestAPI:&lt;br/&gt;&lt;br/&gt;[code]   Dim client = New RestClient(&amp;quot;https://testapiall1.azurewebsites.net/myapi/test/1&amp;quot;)&lt;br/&gt;&lt;br/&gt;        client.Timeout = -1&lt;br/&gt;        Dim requestapi = New RestRequest(Method.GET)&lt;br/&gt;       &lt;br/&gt;        requestapi.AddHeader(&amp;quot;Content-Type&amp;quot;, &amp;quot;application/json&amp;quot;)&lt;br/&gt;&lt;br/&gt;        ...&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428728"&gt;&lt;em&gt;RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428728</guid><slash:comments>10</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428728#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428728</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428729</link><pubDate>Tue, 15 Mar 2022 08:03:26 GMT</pubDate><description>L&amp;#39;api che parametri vuole in ingresso?&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428729"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>mexico77</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428729</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428729#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428729</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428731</link><pubDate>Tue, 15 Mar 2022 08:22:01 GMT</pubDate><description>&amp;#233; come ho fatto la chiamata nell&amp;#39;esempio un qualsiasi id, ma se la si chiama da broswer o postman funziona.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;https://testapiall1.azurewebsites.net/myapi/test/1&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428731"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428731</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428731#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428731</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428732</link><pubDate>Tue, 15 Mar 2022 08:42:25 GMT</pubDate><description>credo voglia dei paramentri in query string: ?aa=aaa&lt;br/&gt;Ma la documentazione a riguardo cosa dice? Cosa deve tornare?&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428732"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>mexico77</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428732</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428732#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428732</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428733</link><pubDate>Tue, 15 Mar 2022 09:23:28 GMT</pubDate><description>Deve tornare  &amp;quot;Value&amp;quot; , basta che lanci il link. &lt;br/&gt;Il problema &amp;#232; che se lo esegui da una chiamata api come ho postato non ritorna nulla .[br]Modificato da bluland il 15 marzo 2022 13:08 - &lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428733"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428733</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428733#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428733</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428734</link><pubDate>Tue, 15 Mar 2022 09:39:45 GMT</pubDate><description>se non torna errore devi vedere cosa fa l&amp;#39;api chiamata&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428734"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>mexico77</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428734</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428734#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428734</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428735</link><pubDate>Tue, 15 Mar 2022 13:00:25 GMT</pubDate><description>Ho notato se faccio la chiamata in http e non in https funziona anche con RestSharp.&lt;br/&gt;&lt;br/&gt;Invece con PostMan e da Browser funziona.&lt;br/&gt;&lt;br/&gt;Cosa bisogna fare x https?&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428735"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428735</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428735#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428735</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428736</link><pubDate>Tue, 15 Mar 2022 13:42:40 GMT</pubDate><description>Non credo si questo il problema. il link punta ad https&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428736"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>mexico77</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428736</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428736#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428736</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428737</link><pubDate>Tue, 15 Mar 2022 13:50:27 GMT</pubDate><description>Si pero se invece di https inserisco http funziona anche da Restsharp.&lt;br/&gt;&lt;br/&gt;Calcola che una Rest api di test che ho creato io e messo su Azure.&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428737"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428737</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428737#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428737</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428738</link><pubDate>Tue, 15 Mar 2022 16:06:30 GMT</pubDate><description>Allora vedi se hai i certificati https&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428738"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>mexico77</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428738</guid><slash:comments>1</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428738#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428738</wfw:commentRss></item><item><title>RE: RestApi chiamata con Restsharp ritorna valore vuoto</title><link>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428739</link><pubDate>Tue, 15 Mar 2022 21:03:08 GMT</pubDate><description>La chiamata fallisce solo da Localhost quando testo l&amp;#39;applicazione in locale se uso PostMan funziona.&lt;br/&gt;&lt;br/&gt;la restapi &amp;#232; su MS Azure ed &amp;#232; visibile a tutti, quello che chiedo di fornirmi un esempio di codice funzionante&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Di seguito posto anche il codice che mi genera PostMan usando RestSharp&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;[code]using System;&lt;br/&gt;using RestSharp;&lt;br/&gt;namespace HelloWorldApplication {&lt;br/&gt;  class HelloWorld {&lt;br/&gt;    static void Main(string[] args) {&lt;br/&gt;      var client = new ...&lt;p&gt;Continua a leggere &lt;a href="https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428739"&gt;&lt;em&gt;RE: RestApi chiamata con Restsharp ritorna valore vuoto&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="https://www.aspitalia.com/"&gt;(C) 2026 ASPItalia.com Network - All rights reserved&lt;/a&gt;&lt;/p&gt;</description><dc:creator>bluland</dc:creator><guid isPermaLink="true">https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428739</guid><slash:comments>0</slash:comments><wfw:comment>https://forum.aspitalia.com/forum/post/428728/RestApi-Chiamata-Restsharp-Ritorna-Valore-Vuoto.aspx#428739#feedback</wfw:comment><wfw:commentRss>https://forum.aspitalia.com/forum/ws/commentRSS.aspx?url=http%3a%2f%2fforum.aspitalia.com%2fforum%2fpost%2f428728%2frestapi-chiamata-restsharp-ritorna-valore-vuoto.aspx%23428739</wfw:commentRss></item></channel></rss>