JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jan 17, 2018 10:32
Hi!

Is it a good practice to wrap parameters into json string in multipart/form-data request ( parameter would be passed as body-parameter )

Example:

Content-Type: application/json
Content-Disposition: form-data; name="dto"

{"itemId":"abc","appVersion":"1","deviceId":"asdfg"}
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Jan 17, 2018 10:29
@Rawing

Content-Disposition: form-data; name="itemId"
abc
Content-Disposition: form-data; name="appVersion"
1
Content-Disposition: form-data; name="deviceId"
asdfg
Jan 17, 2018 10:26
@AshishNitinPatil is it a comment for my question?
In my case it is an API between different platforms, which should have a convention.
Parameters could be passed in raw style without wrapping into internal json.
Jan 17, 2018 10:20
Is it a good practice to wrap parameters into json string in multipart/form-data request ( parameter would be passed as body-parameter )

Example:

Content-Type: application/json
Content-Disposition: form-data; name="dto"

{"itemId":"abc","appVersion":"1","deviceId":"asdfg"}
Jan 17, 2018 10:18
Hi!
 
Feb 6, 2016 10:55
well, I am not a designer thus I want to find official icon :)
Feb 6, 2016 10:53
also I think about apple fruit logo
Feb 6, 2016 10:49
@iDeepak, how do you think, is this icon good enough? raw.githubusercontent.com/P1kachu/ProgrammingLearning/master/…
Feb 6, 2016 10:48
uh, apple only once ( as I know ) show it in swift introduction: live.arstechnica.com/apples-wwdc-2014-keynote/images/…
Feb 6, 2016 10:46
does anybody know objective-c official icon/logo?
Oct 14, 2015 11:42
@ShobhakarTiwari, which entry I should add? example.com or example.com:111 ?
Oct 14, 2015 11:41
@Shob
Oct 14, 2015 11:17
does anybody know about NSAppTransportSecurity allowed ports? Is it enforces 443 port?
Oct 14, 2015 11:16
is anybody here?
Oct 14, 2015 11:16
hi!
Oct 24, 2013 13:22
Hello! I have a question about orientations. I have navigation controller. Ok. This controller push other controllers, which have portrait orientation only. But also I have special controller (for photo browsing), which must support landscape orientations. Navigation controller also push special controller. How can I solve this task?
Oct 21, 2013 14:08
@NitinGohel but my navigation controller does not support many orientations and pushed view controller supports most of them
Oct 21, 2013 13:49
hello! Can anybody answer how does rotation work if I specify navigation controller one set of supported orientations and specify pushed view controller another set of supported orientations?
Oct 9, 2013 12:00
I have localization issue, can anybody help?
Oct 9, 2013 11:59
hello!
Oct 2, 2013 09:31
hello! does anybody use twitter oauth in webview? I can't choose elements like login-field or password-fields :\
Oct 1, 2013 14:28
does anybody catch this issue:
modal controller view change frame on superview if keyboard was showed?
Oct 1, 2013 14:27
hello!
Sep 20, 2013 14:01
does anybody know why flipping animation fails if swipe gesture is too fast? (UIPageViewController)?
Sep 20, 2013 13:49
hello! how can I change speed of animation (or put limit of speed in gesture recognizer) in uipageviewcontroller?
Sep 18, 2013 12:24
@Nareshkumar thank you, I will try it
Sep 18, 2013 12:17
@Nareshkumar extension: if I want to know rect of this cell on superview?
Sep 18, 2013 12:15
@Nareshkumar yes, only current selected visible cell frame
Sep 18, 2013 12:14
frame of cell at index path
 

[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
Apr 11, 2014 08:51
@Kabira, thanks
Apr 11, 2014 08:48
@Kabira, for your question about application. situation: I make new version without option "IDFA usage". Now I want to change this option. status now: Developer rejected
Apr 11, 2014 08:47
@Kabira, nope, I reject binary now
Apr 11, 2014 08:46
@Kabira, but problem is: where to search Edit button in itunes connect for new added version?
Apr 11, 2014 08:45
@Kabira, yes
Apr 11, 2014 08:21
how can I edit option IDFA in itunes connect? I've already make new version and don't know where to edit this field
Apr 11, 2014 08:21
Hi!
 

iPhone / iPad

Apple iOS development chat. This room has a FAQ at ios-develop...
Dec 24, 2013 07:07
@Reformer I have 6.0 value in this field
Dec 24, 2013 07:04
hello! which setting I should look for if Xcode compile my project on 5s iPhone with wrong sdk? (I get size of device and it seems to be 320x480 :( )
Dec 19, 2013 11:20
ok, I have a task. I have square image and have a rectangle. What I want? I want opposite result from resizable image tile mode. So, Cap insets will fill space in rectangle and square image will be placed in the center of rectangle.
Dec 19, 2013 11:16
Hello! Does anybody work with CoreImage or CoreGraphics?
 

Smart Developers' Lab

Try to stick to English, Post your Query elaborate as best as ...
Dec 16, 2013 08:46
Hello! I have a general question. On github what is better to use: star or watch?
 

Ios7 Developers

Do better make better..........
Sep 30, 2013 14:16
I print it
Sep 30, 2013 14:16
[[UIDevice currentDevice] systemVersion]
Sep 30, 2013 14:12
but I want 4.6
Sep 30, 2013 14:12
@virantporwal I get Xcode version: 6.0.1
Sep 30, 2013 14:05
NSString * xcodeVersion = getVersionOfXcode();
DLog(@"version %@", @"4.6.3");
Sep 30, 2013 14:02
@virantporwal do you know how to get string with Xcode version?
Sep 30, 2013 14:01
does anybody know how to get xcode version in project?
Sep 30, 2013 14:01
hello!