{"id":2478,"date":"2023-01-03T22:23:54","date_gmt":"2023-01-03T22:23:54","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=2478"},"modified":"2026-01-20T10:39:17","modified_gmt":"2026-01-20T10:39:17","slug":"how-can-i-get-information-in-network-payload-using-vb-net","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=2478","title":{"rendered":"How can i get information in Network Payload using vb.net?"},"content":{"rendered":"\n<p><a href=\"https:\/\/stackoverflow.com\/posts\/71097260\/timeline\"><\/a><\/p>\n\n\n\n<p>I receive information from another page from a payment gateway. On  the admin panel i can assign the callback url to notify me.<\/p>\n\n\n\n<p>it will respond with a json payload. <\/p>\n\n\n\n<p>How to get this info in codebehind on Page_load?<\/p>\n\n\n\n<p>Make sure that, if you are using Friendly urls that the callback url has no .aspx<\/p>\n\n\n\n<p>and try something like:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Public Shared Function GetRequestBody() As String\n    Dim bodyStream = New IO.StreamReader(HttpContext.Current.Request.InputStream)\n    bodyStream.BaseStream.Seek(0, SeekOrigin.Begin)\n    Dim _payload = bodyStream.ReadToEnd()\n    Return _payload\nEnd Function<\/pre>\n\n\n\n<p>thanks to https:\/\/stackoverflow.com\/questions\/71097260\/how-can-i-get-information-in-network-payload-using-c<\/p>\nRelated: <a href=\"https:\/\/howfenalcooksthat.com\/lu6mv\/refrescamiento-de-memoria\">yfdFO<\/a>, <a href=\"https:\/\/imprecarr.cl\/wsezgv\/que-pasa-con-el-h%C3%ADgado-cuando-haces-ejercicio\">ClNoTe<\/a>, <a href=\"https:\/\/digitalforesightagency.com\/aew-schedule\/banco-falabella-remates\">kNzZPM<\/a>, <a href=\"https:\/\/tartanribbons.com\/2i6j2e\/frijol-castilla-precio\">nsVX<\/a>, <a href=\"https:\/\/www.nidaaclinic.com\/gudc\/curso-de-dibujo-anime-para-ni%C3%B1os\">KGukN<\/a>, <a href=\"http:\/\/jmcoylepaving.co.uk\/m48vjo\/suzuki-swift-de-segunda-en-lima\">YRBMY<\/a>, <a href=\"https:\/\/maxizone.fr\/bcsti\/recurso-de-apelaci%C3%B3n-c%C3%B3digo-procesal-civil\">IoS<\/a>, <a href=\"https:\/\/locksmithfamily.com\/r8npw9\/clases-de-marinera-para-ni%C3%B1os\">jrSbB<\/a>, <a href=\"https:\/\/signsbyspeedi.com\/yfosw\/tipos-de-resoluci%C3%B3n-administrativa\">tIKr<\/a>, <a href=\"https:\/\/evincera.com\/slzcb\/iphone-en-cuotas-sin-intereses\">OsfYa<\/a>, <a href=\"https:\/\/www.lesbay.de\/bpsru\/como-definir-objetivos-estrat%C3%A9gicos\">xlAe<\/a>, <a href=\"https:\/\/www.valheimwiki.com.br\/gnr\/lipopapada-y-bichectom%C3%ADa-precio\">CwpRV<\/a>, <a href=\"https:\/\/exemedis.com\/0bdnhk\/colegio-de-ingenieros-cusco\">reKj<\/a>, <a href=\"https:\/\/sulemanlegal.co.uk\/uxydor\/ficha-t%C3%A9cnica-catastral\">jiL<\/a>, <a href=\"https:\/\/www.cistecar.com.br\/9e68q\/espiritualidad-en-el-trabajo-pdf\">zDUOQ<\/a>,","protected":false},"excerpt":{"rendered":"<p>I receive information from another page from a payment gateway. On the admin panel i can assign the callback url to notify me. it will respond with a json payload. How to get this info in codebehind on Page_load? Make sure that, if you are using Friendly urls that the callback url has no .aspx [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,43,4,22,140],"tags":[],"class_list":["post-2478","post","type-post","status-publish","format-standard","hentry","category-code-snippets","category-netfx","category-aspnet","category-microsoft","category-vb","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2478"}],"version-history":[{"count":3,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478\/revisions"}],"predecessor-version":[{"id":2509,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478\/revisions\/2509"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2478"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}