skip to Main Content

Can PHP auto post form data imported from elsewhere?

1.txt aaaaaaaaaa bbbbbbbbbb cccccccccc ...... Code: `$post_data = array( 'user_data' => array( 'username' => $username, 'password' => $password, 'max_connections' => $max_connections, 'is_restreamer' => $restreamer, 'member_id' => $reseller, 'created_by' => $reseller, 'is_trial' => $is_trial, 'exp_date' => $expire_date, 'bouquet' => json_encode( $bouquet_ids…

VIEW QUESTION

Json – why are properties in my response object set to null?

I have this endpoint method: var authToken = await [url] .AddAuthHeaders(config) .PostJsonAsync(new AuthTokenRequest { GrantType = "test", ClientId = "test", ClientSecret = "test", Audience = "test" }) .ReceiveJson<AuthTokenResponse>(); It's calling this endpoint: [HttpPost] public IActionResult Get([FromBody] object request) { try…

VIEW QUESTION

Json – How to create a c# object and serialize it

In C# I want to created JSON String or Object with the format below: { "retailer_br_id" : "5473182", "retailer_external_id": "", "erp_invoice_number" : "INV-202302", "invoice_date": "2023-04-06T17:00:00.000Z", "status" : 1, "details":[{ "sku_external_id": "TD5015151432201", "quantity" : "2", "price_per_item": "14.5" }, { "sku_external_id": "000005020170898446",…

VIEW QUESTION
Back To Top
Search