Skip to content

Commit d9c0904

Browse files
add postman_collection
1 parent 98d4f43 commit d9c0904

File tree

1 file changed

+255
-8
lines changed

1 file changed

+255
-8
lines changed

Codelink.postman_collection.json

Lines changed: 255 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@
2727
"formdata": [
2828
{
2929
"key": "name",
30-
"value": "eman",
30+
"value": "salah",
3131
"type": "text"
3232
},
3333
{
3434
"key": "email",
35-
"value": "emanelhelaly11@gmail.com",
35+
"value": "salah@gmail.com",
3636
"type": "text"
3737
},
3838
{
3939
"key": "password",
40-
"value": "12312",
40+
"value": "123123",
4141
"type": "text"
4242
},
4343
{
4444
"key": "password_confirmation",
45-
"value": "12312",
45+
"value": "123123",
4646
"type": "text"
4747
}
4848
]
@@ -84,7 +84,7 @@
8484
"formdata": [
8585
{
8686
"key": "email",
87-
"value": "eman@gmail.com",
87+
"value": "salah@gmail.com",
8888
"type": "text"
8989
},
9090
{
@@ -228,7 +228,7 @@
228228
},
229229
{
230230
"key": "code",
231-
"value": "8377",
231+
"value": "2305",
232232
"type": "text"
233233
}
234234
]
@@ -309,6 +309,253 @@
309309
},
310310
"response": []
311311
},
312+
{
313+
"name": "posts",
314+
"request": {
315+
"auth": {
316+
"type": "bearer",
317+
"bearer": [
318+
{
319+
"key": "token",
320+
"value": "1|G5LsDwISHXWKd8KtXi67V6k1F9YUungOoTYwqZ0m",
321+
"type": "string"
322+
}
323+
]
324+
},
325+
"method": "GET",
326+
"header": [],
327+
"url": {
328+
"raw": "http://localhost:8000/api/posts",
329+
"protocol": "http",
330+
"host": [
331+
"localhost"
332+
],
333+
"port": "8000",
334+
"path": [
335+
"api",
336+
"posts"
337+
]
338+
}
339+
},
340+
"response": []
341+
},
342+
{
343+
"name": "posts/create",
344+
"request": {
345+
"auth": {
346+
"type": "bearer",
347+
"bearer": [
348+
{
349+
"key": "token",
350+
"value": "1|TWIwa7od8VtgAanjieMZoVEOiM0hV57tTZsUqXXe",
351+
"type": "string"
352+
}
353+
]
354+
},
355+
"method": "POST",
356+
"header": [
357+
{
358+
"key": "Accept",
359+
"value": "application/json",
360+
"type": "text"
361+
},
362+
{
363+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
364+
"key": "Authorization",
365+
"value": "application/json",
366+
"type": "text"
367+
}
368+
],
369+
"body": {
370+
"mode": "formdata",
371+
"formdata": [
372+
{
373+
"key": "content",
374+
"value": "zamalek",
375+
"type": "text"
376+
},
377+
{
378+
"key": "file_path",
379+
"type": "file",
380+
"src": "/E:/Photos/IMG_20230102_040115_692.jpg"
381+
}
382+
]
383+
},
384+
"url": {
385+
"raw": "http://localhost:8000/api/posts/create",
386+
"protocol": "http",
387+
"host": [
388+
"localhost"
389+
],
390+
"port": "8000",
391+
"path": [
392+
"api",
393+
"posts",
394+
"create"
395+
]
396+
}
397+
},
398+
"response": []
399+
},
400+
{
401+
"name": "posts/show",
402+
"protocolProfileBehavior": {
403+
"disableBodyPruning": true
404+
},
405+
"request": {
406+
"auth": {
407+
"type": "bearer",
408+
"bearer": [
409+
{
410+
"key": "token",
411+
"value": "1|TWIwa7od8VtgAanjieMZoVEOiM0hV57tTZsUqXXe",
412+
"type": "string"
413+
}
414+
]
415+
},
416+
"method": "GET",
417+
"header": [
418+
{
419+
"key": "Accept",
420+
"value": "application/json",
421+
"type": "text"
422+
},
423+
{
424+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
425+
"key": "Authorization",
426+
"value": "application/json",
427+
"type": "text"
428+
}
429+
],
430+
"body": {
431+
"mode": "formdata",
432+
"formdata": []
433+
},
434+
"url": {
435+
"raw": "http://localhost:8000/api/posts/show/2",
436+
"protocol": "http",
437+
"host": [
438+
"localhost"
439+
],
440+
"port": "8000",
441+
"path": [
442+
"api",
443+
"posts",
444+
"show",
445+
"2"
446+
]
447+
}
448+
},
449+
"response": []
450+
},
451+
{
452+
"name": "posts/edit",
453+
"request": {
454+
"auth": {
455+
"type": "bearer",
456+
"bearer": [
457+
{
458+
"key": "token",
459+
"value": "1|TWIwa7od8VtgAanjieMZoVEOiM0hV57tTZsUqXXe",
460+
"type": "string"
461+
}
462+
]
463+
},
464+
"method": "POST",
465+
"header": [
466+
{
467+
"key": "Accept",
468+
"value": "application/json",
469+
"type": "text"
470+
},
471+
{
472+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
473+
"key": "Authorization",
474+
"value": "application/json",
475+
"type": "text"
476+
}
477+
],
478+
"body": {
479+
"mode": "formdata",
480+
"formdata": [
481+
{
482+
"key": "content",
483+
"value": "edit",
484+
"type": "text"
485+
},
486+
{
487+
"key": "file_path",
488+
"type": "file",
489+
"src": [],
490+
"disabled": true
491+
}
492+
]
493+
},
494+
"url": {
495+
"raw": "http://localhost:8000/api/posts/edit/1",
496+
"protocol": "http",
497+
"host": [
498+
"localhost"
499+
],
500+
"port": "8000",
501+
"path": [
502+
"api",
503+
"posts",
504+
"edit",
505+
"1"
506+
]
507+
}
508+
},
509+
"response": []
510+
},
511+
{
512+
"name": "posts/delete",
513+
"request": {
514+
"auth": {
515+
"type": "bearer",
516+
"bearer": [
517+
{
518+
"key": "token",
519+
"value": "1|TWIwa7od8VtgAanjieMZoVEOiM0hV57tTZsUqXXe",
520+
"type": "string"
521+
}
522+
]
523+
},
524+
"method": "POST",
525+
"header": [
526+
{
527+
"key": "Accept",
528+
"value": "application/json",
529+
"type": "text"
530+
},
531+
{
532+
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
533+
"key": "Authorization",
534+
"value": "application/json",
535+
"type": "text"
536+
}
537+
],
538+
"body": {
539+
"mode": "formdata",
540+
"formdata": []
541+
},
542+
"url": {
543+
"raw": "http://localhost:8000/api/posts/delete/2",
544+
"protocol": "http",
545+
"host": [
546+
"localhost"
547+
],
548+
"port": "8000",
549+
"path": [
550+
"api",
551+
"posts",
552+
"delete",
553+
"2"
554+
]
555+
}
556+
},
557+
"response": []
558+
},
312559
{
313560
"name": "teams",
314561
"request": {
@@ -317,7 +564,7 @@
317564
"bearer": [
318565
{
319566
"key": "token",
320-
"value": "17|EWzvNnR4MpM4u7i2eAS890wRiuC195YGMaDncNrk",
567+
"value": "1|dWgrMHGnLnqhnptvnMR8v4gaCC2Ura5jk9KCvhOQ",
321568
"type": "string"
322569
}
323570
]
@@ -359,7 +606,7 @@
359606
"bearer": [
360607
{
361608
"key": "token",
362-
"value": "1|nE0Zk8Jnx76AuPGuLkH0cVuG04GtJ3t4OZs9Qejw",
609+
"value": "1|dWgrMHGnLnqhnptvnMR8v4gaCC2Ura5jk9KCvhOQ",
363610
"type": "string"
364611
}
365612
]

0 commit comments

Comments
 (0)