curl_cmd 1.0.0+4 curl_cmd: ^1.0.0+4 copied to clipboard
Tool for make API request from curl cmd.
curl_cmd #
Future<void>
main() async {
cmd = """curl --location 'http://10.86.224.37:5001/api/edu/get_all_course' \
--header 'abc: edf' \
--header 'Authorization: Bearer eyJhbGciOiJIU***nR5cCI6IkpXVCJ9.eyJpZCddI6IjVlMGFlYTE3MDI1ZmFkMTBjODgxNDE5YSIsImlhdCI6MTY3ODA5NTEzMCwiddddZXhwIjoxNjc4MzU0MzMwfQ.Ddzsdd1yCT3N9KFpVrLoW0nA71QqP24ymG7PPMddHK0alCk'""";
print(await curl(cmd));
}
A new Flutter project.
Getting Started #
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.