|
3566 | 3566 | "request": { |
3567 | 3567 | "method": "POST", |
3568 | 3568 | "header": [], |
| 3569 | + "body": { |
| 3570 | + "mode": "raw", |
| 3571 | + "raw": "{\n \"is_superlike\": false\n}", |
| 3572 | + "options": { |
| 3573 | + "raw": { |
| 3574 | + "language": "json" |
| 3575 | + } |
| 3576 | + } |
| 3577 | + }, |
3569 | 3578 | "url": { |
3570 | 3579 | "raw": "{{host}}/like/-1", |
3571 | 3580 | "host": [ |
|
3607 | 3616 | "request": { |
3608 | 3617 | "method": "POST", |
3609 | 3618 | "header": [], |
| 3619 | + "body": { |
| 3620 | + "mode": "raw", |
| 3621 | + "raw": "{\n \"is_superlike\": false\n}", |
| 3622 | + "options": { |
| 3623 | + "raw": { |
| 3624 | + "language": "json" |
| 3625 | + } |
| 3626 | + } |
| 3627 | + }, |
3610 | 3628 | "url": { |
3611 | 3629 | "raw": "{{host}}/like/{{user_id}}", |
3612 | 3630 | "host": [ |
|
3699 | 3717 | "request": { |
3700 | 3718 | "method": "POST", |
3701 | 3719 | "header": [], |
| 3720 | + "body": { |
| 3721 | + "mode": "raw", |
| 3722 | + "raw": "{\n \"is_superlike\": false\n}", |
| 3723 | + "options": { |
| 3724 | + "raw": { |
| 3725 | + "language": "json" |
| 3726 | + } |
| 3727 | + } |
| 3728 | + }, |
3702 | 3729 | "url": { |
3703 | 3730 | "raw": "{{host}}/like/like_me", |
3704 | 3731 | "host": [ |
|
3740 | 3767 | "request": { |
3741 | 3768 | "method": "POST", |
3742 | 3769 | "header": [], |
| 3770 | + "body": { |
| 3771 | + "mode": "raw", |
| 3772 | + "raw": "{\n \"is_superlike\": false\n}", |
| 3773 | + "options": { |
| 3774 | + "raw": { |
| 3775 | + "language": "json" |
| 3776 | + } |
| 3777 | + } |
| 3778 | + }, |
3743 | 3779 | "url": { |
3744 | 3780 | "raw": "{{host}}/like/like_me", |
3745 | 3781 | "host": [ |
|
3926 | 3962 | "protocolProfileBehavior": {}, |
3927 | 3963 | "_postman_isSubFolder": true |
3928 | 3964 | }, |
| 3965 | + { |
| 3966 | + "name": "Superlike User", |
| 3967 | + "item": [ |
| 3968 | + { |
| 3969 | + "name": "Superlike like_me user", |
| 3970 | + "event": [ |
| 3971 | + { |
| 3972 | + "listen": "test", |
| 3973 | + "script": { |
| 3974 | + "id": "b09c0ee4-abcb-4fcc-9806-e1b48da225b3", |
| 3975 | + "exec": [ |
| 3976 | + "var response = JSON.parse(responseBody);", |
| 3977 | + "", |
| 3978 | + "", |
| 3979 | + "pm.test(\"Status code is 200\", function () {", |
| 3980 | + " pm.response.to.have.status(200);", |
| 3981 | + "});", |
| 3982 | + "", |
| 3983 | + "tests[\"JSON return code is 200\"] = response.code == 200", |
| 3984 | + "", |
| 3985 | + "tests[\"success is true\"] = response.success == true", |
| 3986 | + "", |
| 3987 | + "tests[\"Messag is correct\"] = response.message == \"Superliked user.\"" |
| 3988 | + ], |
| 3989 | + "type": "text/javascript" |
| 3990 | + } |
| 3991 | + } |
| 3992 | + ], |
| 3993 | + "request": { |
| 3994 | + "method": "POST", |
| 3995 | + "header": [], |
| 3996 | + "body": { |
| 3997 | + "mode": "raw", |
| 3998 | + "raw": "{\n \"is_superlike\": true\n}", |
| 3999 | + "options": { |
| 4000 | + "raw": { |
| 4001 | + "language": "json" |
| 4002 | + } |
| 4003 | + } |
| 4004 | + }, |
| 4005 | + "url": { |
| 4006 | + "raw": "{{host}}/like/like_me", |
| 4007 | + "host": [ |
| 4008 | + "{{host}}" |
| 4009 | + ], |
| 4010 | + "path": [ |
| 4011 | + "like", |
| 4012 | + "like_me" |
| 4013 | + ] |
| 4014 | + } |
| 4015 | + }, |
| 4016 | + "response": [] |
| 4017 | + }, |
| 4018 | + { |
| 4019 | + "name": "UnSuperlike like_me user", |
| 4020 | + "event": [ |
| 4021 | + { |
| 4022 | + "listen": "test", |
| 4023 | + "script": { |
| 4024 | + "id": "77e4cefb-3d6f-481e-91ff-c63cfc37a6aa", |
| 4025 | + "exec": [ |
| 4026 | + "var response = JSON.parse(responseBody);", |
| 4027 | + "", |
| 4028 | + "", |
| 4029 | + "pm.test(\"Status code is 200\", function () {", |
| 4030 | + " pm.response.to.have.status(200);", |
| 4031 | + "});", |
| 4032 | + "", |
| 4033 | + "tests[\"JSON return code is 200\"] = response.code == 200", |
| 4034 | + "", |
| 4035 | + "tests[\"success is true\"] = response.success == true", |
| 4036 | + "" |
| 4037 | + ], |
| 4038 | + "type": "text/javascript" |
| 4039 | + } |
| 4040 | + } |
| 4041 | + ], |
| 4042 | + "request": { |
| 4043 | + "method": "POST", |
| 4044 | + "header": [], |
| 4045 | + "url": { |
| 4046 | + "raw": "{{host}}/unlike/like_me", |
| 4047 | + "host": [ |
| 4048 | + "{{host}}" |
| 4049 | + ], |
| 4050 | + "path": [ |
| 4051 | + "unlike", |
| 4052 | + "like_me" |
| 4053 | + ] |
| 4054 | + } |
| 4055 | + }, |
| 4056 | + "response": [] |
| 4057 | + } |
| 4058 | + ], |
| 4059 | + "protocolProfileBehavior": {}, |
| 4060 | + "_postman_isSubFolder": true |
| 4061 | + }, |
3929 | 4062 | { |
3930 | 4063 | "name": "Match user", |
3931 | 4064 | "item": [ |
|
3995 | 4128 | "request": { |
3996 | 4129 | "method": "POST", |
3997 | 4130 | "header": [], |
| 4131 | + "body": { |
| 4132 | + "mode": "raw", |
| 4133 | + "raw": "{\n \"is_superlike\": false\n}", |
| 4134 | + "options": { |
| 4135 | + "raw": { |
| 4136 | + "language": "json" |
| 4137 | + } |
| 4138 | + } |
| 4139 | + }, |
3998 | 4140 | "url": { |
3999 | 4141 | "raw": "{{host}}/like/like_me", |
4000 | 4142 | "host": [ |
|
5714 | 5856 | ], |
5715 | 5857 | "variable": [ |
5716 | 5858 | { |
5717 | | - "id": "f7f62b2d-ca4f-4598-8b51-32df1933c988", |
| 5859 | + "id": "dff1a2e8-8383-4d1a-af74-6744539983c6", |
5718 | 5860 | "key": "host", |
5719 | 5861 | "value": "http://127.0.0.1:5000" |
5720 | 5862 | }, |
5721 | 5863 | { |
5722 | | - "id": "3703d537-e527-402c-bcc1-3378cc511cca", |
| 5864 | + "id": "2baf602e-1e34-4efc-957c-bbd23051fa18", |
5723 | 5865 | "key": "user_id", |
5724 | 5866 | "value": "" |
5725 | 5867 | }, |
5726 | 5868 | { |
5727 | | - "id": "8517da0b-fe71-4bbc-9323-fcf704175182", |
| 5869 | + "id": "dd71d2c4-7078-40ea-af2b-69ebed33895e", |
5728 | 5870 | "key": "user_email", |
5729 | 5871 | "value": "foo@example.org" |
5730 | 5872 | }, |
5731 | 5873 | { |
5732 | | - "id": "022a3d70-4602-4ec4-8b06-b713eb64c789", |
| 5874 | + "id": "2c6ace6d-9880-47c0-a303-d57c85c11826", |
5733 | 5875 | "key": "user_username", |
5734 | 5876 | "value": "foo" |
5735 | 5877 | }, |
5736 | 5878 | { |
5737 | | - "id": "00dc9fc9-4081-4ffc-9036-656c7ee26eb7", |
| 5879 | + "id": "27762741-f737-47db-9982-bb6382a1102d", |
5738 | 5880 | "key": "user_password", |
5739 | 5881 | "value": "admin" |
5740 | 5882 | }, |
5741 | 5883 | { |
5742 | | - "id": "d169f5ec-aa59-4f2f-902f-62cec84b7b3e", |
| 5884 | + "id": "32749353-1734-427a-b7e5-ea42f9bf0a81", |
5743 | 5885 | "key": "user_firstname", |
5744 | 5886 | "value": "Foo" |
5745 | 5887 | }, |
5746 | 5888 | { |
5747 | | - "id": "420f8b7d-f6c3-402c-a113-842a42ad643b", |
| 5889 | + "id": "dfd31259-5a05-45b5-9b15-00565a3621f6", |
5748 | 5890 | "key": "user_lastname", |
5749 | 5891 | "value": "Bar" |
5750 | 5892 | }, |
5751 | 5893 | { |
5752 | | - "id": "4a70641d-9661-44a4-9ebb-571e904760bb", |
| 5894 | + "id": "6fbac55b-72a7-4dda-9df6-a5b54b8e075a", |
5753 | 5895 | "key": "debug_token", |
5754 | 5896 | "value": "xX69jules69Xx" |
5755 | 5897 | }, |
5756 | 5898 | { |
5757 | | - "id": "84b5ef5d-4da9-47e9-96eb-16173643be25", |
| 5899 | + "id": "469a1742-e7ea-4784-8383-304e1a1254c8", |
5758 | 5900 | "key": "user_access_token", |
5759 | 5901 | "value": "" |
5760 | 5902 | }, |
5761 | 5903 | { |
5762 | | - "id": "58d485e5-54fd-48e2-b420-b685f01ec6d9", |
| 5904 | + "id": "b4e018f7-21e5-4cc8-aa5d-b44f1d3fe5aa", |
5763 | 5905 | "key": "user_refresh_token", |
5764 | 5906 | "value": "" |
5765 | 5907 | }, |
5766 | 5908 | { |
5767 | | - "id": "f49346f4-9cf4-485f-a9ff-e8c15cf52193", |
| 5909 | + "id": "35a30c5c-700b-4cac-a87f-e9b85b1d59d5", |
5768 | 5910 | "key": "expired_token", |
5769 | 5911 | "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTAyNDIyNjQsIm5iZiI6MTU5MDI0MjI2NCwianRpIjoiNTM0ZGI5NzQtOWE4Ni00MGViLWE1NDEtMDg3N2ZmNzQ3NDVhIiwiZXhwIjoxNTkwMjQyMzI0LCJpZGVudGl0eSI6eyJpZCI6NTEyLCJlbWFpbCI6ImZvb0BleGFtcGxlLm9yZyIsInVzZXJuYW1lIjoiYmFyIiwiaXNfb25saW5lIjp0cnVlLCJkYXRlX2xhc3RzZWVuIjoiU2F0LCAyMyBNYXkgMjAyMCAxMzo1Nzo0NCBHTVQifSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.NTp2P0WNkXDwzuzrcNIQdeAfizQ57HQgkzBLSvY1yHU" |
5770 | 5912 | }, |
5771 | 5913 | { |
5772 | | - "id": "7b6804b9-95bf-4ebd-9422-00a82dcb0da1", |
| 5914 | + "id": "f9cb0a56-3fe5-4a43-8c34-c370ea32d68c", |
5773 | 5915 | "key": "user_orientation", |
5774 | 5916 | "value": "heterosexual" |
5775 | 5917 | }, |
5776 | 5918 | { |
5777 | | - "id": "f3dcabd6-9135-4b98-9ae9-48754dffcc8e", |
| 5919 | + "id": "473c2ba6-4781-4074-8ab7-b2d593ba027f", |
5778 | 5920 | "key": "user_bio", |
5779 | 5921 | "value": "Lorem Ipsum is the single greatest threat. We are not - we are not keeping up with other websites. Lorem Ipsum best not make any more threats to your website. It will be met with fire and fury like the world has never seen. Does everybody know that pig named Lorem Ipsum? An ‘extremely credible source’ has called my office and told me that Barack Obama’s placeholder text is a fraud." |
5780 | 5922 | }, |
5781 | 5923 | { |
5782 | | - "id": "b36685e2-b7cb-4057-889d-4478975127fb", |
| 5924 | + "id": "aa576ca8-3df8-4aa9-9365-d97b17a2fae9", |
5783 | 5925 | "key": "user_gender", |
5784 | 5926 | "value": "male" |
5785 | 5927 | }, |
5786 | 5928 | { |
5787 | | - "id": "b90ce2a3-6bc8-4ea2-93d0-faaa3d937417", |
| 5929 | + "id": "7295072e-641d-4991-8d9e-5b4219ddcbe3", |
5788 | 5930 | "key": "user_birthdate", |
5789 | 5931 | "value": "06/04/1998" |
5790 | 5932 | }, |
5791 | 5933 | { |
5792 | | - "id": "061a7ca6-55dc-411a-8f4d-c256eadaf8a5", |
| 5934 | + "id": "dee264ed-d89e-4493-92c9-3329e0864680", |
5793 | 5935 | "key": "user_lat", |
5794 | 5936 | "value": "44.8404" |
5795 | 5937 | }, |
5796 | 5938 | { |
5797 | | - "id": "9ddd0f08-1bc5-457b-9d20-765668662af0", |
| 5939 | + "id": "1afbbe42-4c06-40e3-bc8c-775865907ec2", |
5798 | 5940 | "key": "user_lng", |
5799 | 5941 | "value": "-0.5805" |
5800 | 5942 | }, |
5801 | 5943 | { |
5802 | | - "id": "e2835d3f-b1ab-400c-9bad-66288f3ff0ee", |
| 5944 | + "id": "e8028fd5-ba0c-474c-99a6-99f6aef3dac1", |
5803 | 5945 | "key": "user_ip", |
5804 | 5946 | "value": "77.205.46.181" |
5805 | 5947 | } |
|
0 commit comments