Explore tweets tagged as #JSONResponse
@fmoz
Mustafa Özyurt
2 years
if your service already returning json, you can use json parameter true to avoid extra serialisation with JsonResponse. #symfonytips
Tweet media one
0
0
0
@kevinfrvr
Kevin
2 years
Day 81 #100DaysOfCode .Can someone help me with this please?🙏🏾. It only happens the second time I comment. I return a JsonResponse from the backend with the comment data and fetch it on the frontend so I can update the DOM without reloading the page. This is weird 🙏🏾 Help 🙏🏾
1
0
5
@garyclarketech
Gary Clarke
2 years
In Test Driven PHP I create a JsonResponse class similar to the one in the Symfony/HttpFoundation package. Using JsonResponse comes with a number of advantages that simplify the process and make your code more explicit…. 1. Explicit Type Indication.2. Content-Type Header set by
Tweet media one
1
6
27
@QoBox
QO-BOX
10 months
What’s the most efficient way to verify fields in a large JSON response during API testing?.#apitesting #jsonresponse #DataVerification #EfficientTesting #softwaretesting #qastrategies #QOBOX
Tweet media one
0
0
0
@Mega_Gorilla_
猩々 博士🧪💻 ニートエンジニア
2 years
GPT4は、やっぱり、JsonResponseに対応してない!.Json Responceが使えるのはGPT4-turboの方でした。。
Tweet media one
0
0
6
@djangonewsbot
Django News
2 months
[Podcasts] Episode 5: Chocolately Django REST APIs. Django Brew Episode 5 explains building robust REST APIs in Django using JsonResponse, Django REST Framework, and Django Ninja for efficient backend API development. #djangonews.
0
0
4
@garyclarketech
Gary Clarke
1 year
In Test Driven PHP I create a JsonResponse class similar to the one Symfony. 1. Explicit Type Indication.2. Content-Type set by default.3. Encoding done by default.4. Handles arrays or objects.Check the course out here 👇.#php
Tweet media one
1
2
14
@PraiseID3
Praise Idowu
7 months
Product review update.1. Returned JSONResponse from productDetailView. 2. Used ajax to get the data. 3. Used JS to dynamically insert the comment. I created it using template literal and insertAdjacentHTML. 4. Hid the form and increased the review count.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
1
1
2
@PovilasKorop
Povilas Korop | Laravel Courses Creator & Youtuber
7 months
Question: in Laravel APIs with API resources, what do you use as a return type in Controller methods?. Resources return a collection or a resource, and those become the return types. Feels. weird. But if I return JsonResponse and transform the result, I lose the "magic".
Tweet media one
11
3
58
@korohub
Korohub
2 years
Django: Use JSONResponse to serialize a QuerySet in Django 1.7? - #python - #ajax - #django - #jsonresponse - Answer link :
Tweet media one
0
0
1
@akvus
Maciej
4 months
Oh, ah, Claude! Was supposed to remove `decode` and pass `jsonResponse` directly following a successful refactor from freezed to dart_mappable. I'm dropping the refactor, since cursor just cannot handle all the errors correctly. Also, started adding random methods to my repos.
Tweet media one
0
0
1
@_guap_lord
Caleb
1 year
Started out my DRF docs tutorial. Introduced to Serializers.Model Serializers.JSONResponse and JSONParse .Using HTTP request method PUT and DELETE. I love that when I have errors rn, I know where to look to fix it😌. A little more and i start building this API i have in mind.
Tweet media one
Tweet media two
@_guap_lord
Caleb
1 year
Mastering python for backend development! .I'm very happy to announce the beginning of my journey in python for backend development, which I'll document with you here as we dive deep. Creating awareness until we start earning from our learnings. print("welcome😎").
1
0
8
@dtechshoemaker
Peter ☮️
17 days
That JSON Serializing Error 😩. TypeError: Object of type Response is not JSON serializable. Me: 😵‍💫. Fix: response.json() before using it in JsonResponse. Debugging teaches you 10x more than YouTube ever will.
0
0
3
@DaliusBeckjr
sincerely.Dalius
2 years
Day 2/365. Learning API with Django .- using Ajax and built in fetch in JS.- JsonResponse to communicate to fetch request.- bonus: maybe will use the react CDN.- also learned about CDN DNS and cloudflare.
0
0
0
@JohnLrnr
John Ortiz Ordoñez
2 years
FastAPI Curso: 238 Establecer Headers en un Objeto JSONResponse en la Im. via @YouTube.
0
0
0
@Re1gns_
Victor A. Olatunde
2 years
Back to my project.=> Completed the notification function (models, views, urls, and templates.) automatically fetching the notification from the DB with the help of serializers and https JsonResponse.
@Re1gns_
Victor A. Olatunde
2 years
(helped implement auto assign subject in a particular class to a newly registered student of the class using django signals.).
0
0
4
@xinxin_writer
小欣欣 เสี่ยวซินซิน
1 year
def pasapython(request):. EmojiMessage = "Emoji เหล่าน้องงู". return JsonResponse({'EmojiMessage': EmojiMessage}).
@momayjapenmaew
โมแมว ฅ⁠(^⁠•⁠ﻌ⁠•⁠^⁠ฅ
1 year
เจ็บปอดมา5นาทีละ ตลกเกิน
Tweet media one
0
1
5
@Goodnesmbakara
Goodness Mbakara
2 years
DAY 7.==> I took some time off to rest.==>I had a live coding session to demonstrate the @Samuel_Ogboye task to #BackenNinjas --The task is about returning a JsonResponse with an API call. #100daysofproductivity with @JaminOnuegbu and @vhic_kee.
@Goodnesmbakara
Goodness Mbakara
2 years
DAY 6.==> I sent out connection requests and expanded my network. ==>@JaminOnuegbu suggested I engage more with the media outskirts; which I tried to do here on twitter.#100daysofproductivity with @JaminOnuegbu @vhic_kee.
2
0
4
@Web25114001
株式会社ドリーム・シアター 新人Webエンジニア
4 months
500エラーの原因は JsonResponse を適切に処理していなかったこと。.・コントローラー側で JsonResponse を response()->json() でラップすることで解決できる。.・エラーログを確認すると、エラーの詳細を特定しやすい。.・ApiResponseHelper を作ると、API レスポンスのフォーマットを統一できる。.
@Web25114001
株式会社ドリーム・シアター 新人Webエンジニア
4 months
【Laravel~500 エラー(Internal Server Error)】.原因 : executeメソッドが、JsonResponse型を、直接返していたので、コントロ���ラー側で、JsonResponseに変換する必要があった。.解消法:コントローラー側で、API(ここではGetCreateRecipesAction)から、取得したデータを、下記のコードで返す。.
0
0
0