OneCompiler APIs

FREEMIUM
Par OneCompiler | Mise à jour a month ago | Tools
Popularité

9.7 / 10

Latence

353ms

Niveau de service

100%

Health Check

100%

Retour à toutes les discussions

How do you pass large content for python code through API

Rapid account: Tak 0209
tak0209
2 months ago

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 2 months ago

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

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires