OneCompiler APIs

FREEMIUM
By OneCompiler | Updated 24日前 | Tools
Popularity

9.7 / 10

Latency

357ms

Service Level

100%

Health Check

100%

Back to All Discussions

How do you pass large content for python code through API

Rapid account: Tak 0209
tak0209
2ヶ月前

I can pass JS with a single line but how do yo pass a python code that has 20 lines?

can you give me an example? try ; but that didn’t work. Thanks!

Rapid account: Karthikdivi
karthikdivi Commented 1ヶ月前

You can try JSON escaping while sending the code i.e use \n for new lines

Join in the discussion - add comment below:

Login / Signup to post new comments